include(ParaViewTestingMacros)

set(GenericIO_TESTS_WITH_BASELINES
  ${CMAKE_CURRENT_SOURCE_DIR}/GenericIOTest.xml
)

if(PARAVIEW_DATA_ROOT AND BUILD_SHARED_LIBS)
  add_client_tests("pv"
    LOAD_PLUGIN "GenericIOReader"
    BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
    TEST_SCRIPTS ${GenericIO_TESTS_WITH_BASELINES}
  )

endif(PARAVIEW_DATA_ROOT AND BUILD_SHARED_LIBS)
